import {BaseModel} from "./model/baseModel.js";
import {BaseView} from "./view/baseView.js";
import {BaseController} from "./controller/baseController.js";
import {Pubsub} from "./pubsub.js";

let pubsub = new Pubsub();
let model = new BaseModel(pubsub);
let view = new BaseView(pubsub);
// console.log(pubsub)
// console.log(model)
// console.log(view)
// view.render([{id: 1}])
new BaseController(view, model, pubsub);
// model.addTodo({name: '李四'})

